interface Sungjuk_Info{
	void set_hakbun(String hakbun);
	void set_name(String name);
}
interface Sungjuk_Grade{
	void set_jumsu(int jumsu);
	void set_grade(String grade);
}
interface Sungjuk_Print extends Sungjuk_Info,Sungjuk_Grade{
	void title();
	void prt_data();
}
class Sungjuk_6_3 implements Sungjuk_Print{
	String hakbun = " ";
	String name = " ";
	int jumsu = 0;
	String grade = " ";
	public void title(){
		System.out.println("****      인터페이스 사용       ****");
		System.out.println("****    정보통신전자공학부         ****");
		System.out.println("****     20052426 장수은         ****");
	}
	public void set_hakbun(String hakbun){
		this.hakbun = hakbun;
	}
	public void set_name(String name){
		this.name = name;
	}
	public void set_jumsu(int jumsu){
		this.jumsu = jumsu;
	}
	public void set_grade(String grade){
		this.grade = grade;
	}
	public void prt_data(){
		System.out.println(hakbun + " " + name + " " + jumsu + " " + grade);
	}
}
class ex_6_3 extends Sungjuk_6_3 {
	public static void main(String[] args){
		Sungjuk_6_3 test = new Sungjuk_6_3();
		test.set_hakbun("20052426");
		test.set_name("장수은");
		test.set_jumsu(84);
		test.set_grade("A");
		Sungjuk_6_3 test2 = new Sungjuk_6_3();
		test2.set_hakbun("20071035");
		test2.set_name("김수진");
		test2.set_jumsu(95);
		test2.set_grade("A+");
		Sungjuk_6_3 test3 = new Sungjuk_6_3();
		test3.set_hakbun("20082413");
		test3.set_name("장형철");
		test3.set_jumsu(75);
		test3.set_grade("C");
		Sungjuk_6_3 print = new Sungjuk_6_3();
		print.title();
		test.prt_data();
		test2.prt_data();
		test3.prt_data();
		
	}
}
